import java.util.Arrays;

public class Demo07 {
    public static void main(String[] args) {
        String s = "A,B,C,D";
        String[] ss = s.split(",");
        System.out.println(Arrays.toString(ss));
    }
}
